package com.xin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xin.entity.crm.MenuEntity;

import java.util.List;

public interface MenuService extends IService<MenuEntity> {

    /**
     * 返回员工拥有的菜单列表，并将转换成树结构
     * @param employeeId
     * @return
     */
    List<MenuEntity> queryListParentId(Long employeeId);
}
